This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 16, 2011, 6:21 PM
3 Posts

Re: iFrame substitute in XPages

  • Category: Other
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: iFrame
  • Replies: 5
@Thomas - not sure you can just put in the iFrame tags in the source.
@Yusuf - It took me some time to find it but I think it was a blog entry from Tripcony or Hodge but one of them was using a computed field.  I think this falls in line with what you are trying to do with the html that the rdbms is spewing.  Here's what I did as an example:
  1. create sample xpage
  2. put computed field on xpage
  3. in properties make sure that content type is HTML
  4. in properties in the values tab click the advanced radio button for the Bind option
  5. paste your iframe stuff in there.  or really any html code. 
Here's my source(the real URL's were obsfuscated to protect the innocent):
<xp:text escape="false"
                                    id="computedField1">
                                    <xp:this.value><![CDATA[<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/M" frameborder="0" allowfullscreen></iframe>]]></xp:this.value>
                                </xp:text>
 
I hope this helps.
Apr 18, 2011, 7:13 AM
26 Posts
Re: iFrame substitute in XPages
 Thanks a lot for further directions. I would give this a try and post back here. My objective is to retrieve a set of rows from RDBMS filtered by the logged-in user's ID. And the returned set of values should be displayed on the UI and has to be a link to a specific lotus database. 
 
I really appreciate. 
 
Regards,
Yusuf 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal